package fr.pascal.client.ui;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.AcceptsOneWidget;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.SimplePanel;
import com.google.gwt.user.client.ui.Widget;

public class ApplicationViewImpl extends Composite implements ApplicationView {

	private static ApplicationViewImplUiBinder uiBinder = GWT
			.create(ApplicationViewImplUiBinder.class);

	interface ApplicationViewImplUiBinder extends
			UiBinder<Widget, ApplicationViewImpl> {
	}
	
	@UiField
	SimplePanel animalPanel;
	
	public ApplicationViewImpl() {
		initWidget(uiBinder.createAndBindUi(this));
	}

	@Override
	public AcceptsOneWidget getAnimalPanel() {
		return animalPanel;
	}
}
